package com.niuwa.p2p.service.impl.claimtransfer;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.niuwa.p2p.dao.claimtransfer.LoadClaimDao;
import com.niuwa.p2p.entity.PageQuery;
import com.niuwa.p2p.service.claimtransfer.ILoanClaimService;
import com.niuwa.p2p.vo.claim.LoanClaimVo;

/**
 * 2015年4月3日
 * 
 * @author futianliang
 */
@Service
public class LoanClaimServiceWithProdImpl implements ILoanClaimService {
	@Autowired
	private LoadClaimDao loadClaimDao;

	@Override
	public List<LoanClaimVo> getLoanClainList(Map<String, Object> paramMap) {
		assert paramMap.get(PageQuery.PAGEQUERY) != null;
		return loadClaimDao.getLoanClainList(paramMap);

	}

	public int getLoanClainListCount(Map<String, Object> paramMap) {
		return loadClaimDao.getLoanClainListCount(paramMap);
	}
}
